package org.lonetree.tc.core.search;

import org.lonetree.tc.core.User.Username;

/**
 * JAVADOC UserCriteria
 *
 * @author xeon
 *
 */
public class UserCriteria{
	
	private String firstName;
	private String lastName;
	private Username username;
	
	/**
	 * JAVADOC UserCriteria.UserCriteria()
	 *
	 */
	public UserCriteria(){
		this(null, null, null);
	}
	
	/**
	 * JAVADOC UserCriteria.UserCriteria()
	 *
	 * @param firstName
	 * @param lastName
	 * @param username
	 */
	public UserCriteria(Username username, String firstName, String lastName){
		this.lastName = lastName;
		this.firstName = firstName;
		this.username = username;
	}

	
	/**
	 * JAVADOC UserCriteria.getFirstName()
	 *
	 * @return
	 */
	public String getFirstName(){
		return firstName;
	}

	
	/**
	 * JAVADOC UserCriteria.setFirstName()
	 *
	 * @param firstName
	 */
	public void setFirstName(String firstName){
		this.firstName = firstName;
	}

	
	/**
	 * JAVADOC UserCriteria.getLastName()
	 *
	 * @return
	 */
	public String getLastName(){
		return lastName;
	}

	
	/**
	 * JAVADOC UserCriteria.setLastName()
	 *
	 * @param lastName
	 */
	public void setLastName(String lastName){
		this.lastName = lastName;
	}

	
	/**
	 * JAVADOC UserCriteria.getUsername()
	 *
	 * @return
	 */
	public Username getUsername(){
		return username;
	}

	
	/**
	 * JAVADOC UserCriteria.setUsername()
	 *
	 * @param username
	 */
	public void setUsername(Username username){
		this.username = username;
	}

}
